package com.smartisee.springcloud.dao;

import com.smartisee.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Auther: sp
 * @Date: 2019/2/15 13:38
 * @Description:
 */

@Mapper //mybaits
public interface DeptDao {
    public boolean addDept(Dept dept);

    public Dept findById(Long id);

    public List<Dept> findAll();

}
